#===============================================================================
# User Options
#===============================================================================

# Compiler can be set below, or via environment variable
CC        = nvcc
OPTIMIZE  = yes
DEBUG     = no
ARCH      = sm_80
LAUNCHER  =

#===============================================================================
# Sets Flags
#===============================================================================
INCLUDE_PATH := ../../../utils

# Standard Flags
CFLAGS := $(EXTRA_CFLAGS) -std=c++17 -Xcompiler -Wall -arch=$(ARCH)

CFLAGS += $(addprefix -I , $(INCLUDE_PATH))

ifeq ($(CC), nvcc)
	CFLAGS += -DNVIDIA_GPU_ARCH
endif

ifeq ($(CC), cucc)
	CFLAGS += -DMETAX_GPU_ARCH
endif
